#include<iostream>
#include<cstring>
using namespace std;
void PrintSmall(char sl[],char s2[])
{
	if(strcmp(sl,s2)<=0)
	cout<<sl;
	else
	cout<<s2;
}
int main()
{
    char sl[30];
    char s2[40];
    char s3[100];
    strcpy(sl,"Hello");
    strcpy(s2,sl);
    cout<<"l)"<<s2<<endl;
    strcat(sl,",world");
    cout<<"2)"<<sl<<endl;
    cout<<"3)";PrintSmall("abc",s2);cout<<endl;
    cout<<"4)";PrintSmall("abc","aaa");cout<<endl;
    int n =strlen(s2);
    cout<<"5)"<<n<<","<<strlen("abc")<<endl;
    strupr(sl);
    cout<<"6)"<<sl<<endl;
	return 0;
}